#ifndef BOARD_EX_H
#define BOARD_EX_H

#include "board.h"

struct device_info 
{
  char device_name[32];
  unsigned long firmware_version;
  unsigned long up_time;
  double cpu_usage;
  double memory_usage;
  double temperature;
};

struct led {
  unsigned long number;
  bool state;
};

struct buzzer {
  unsigned long frequency;
  bool is_running;
};

void board_init2(void);
void board_get_device_info(struct device_info*);
void board_reboot(void);
void board_get_led(struct led *);
void board_set_led(struct led *);
void board_get_buzzer(struct buzzer *data);
void board_set_buzzer(struct buzzer *data);

#endif